package com.sxzt.core.test;

import com.sxzt.core.enum_status.BaseOut;

public enum CustomBusinessStatus implements BaseOut {

    BAD_REQUEST("400", "坏的请求"),

    NO_AUTH("401", "暂无权限");


    CustomBusinessStatus(String code, String mes) {
        this.code = code;
        this.mes = mes;
    }

    private final String code;

    private final String mes;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMes() {
        return mes;
    }
}
